import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';

import { HomeService } from './home.service';
import { HomeDetailResolve } from './home-detail-resolve.service';

import { HomeComponent } from './home.component';
import { HomeListComponent } from './home-list.component';
import { HomeDetailComponent } from './home-detail.component';
import { HomeCenterComponent } from './home-center.component';

import { HomeRoutingModule } from './home-routing.module';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    HomeRoutingModule
  ],
  declarations: [
    HomeComponent,
    HomeListComponent,
    HomeDetailComponent,
    HomeCenterComponent
  ],
  providers: [
    HomeService,
    HomeDetailResolve
  ]
})
export class HomeModule { }
